package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 商家管理对象 seller
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class Seller<Date> extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家编号 */
    private Long id;

    /** 商家账号 */
    @Excel(name = "商家账号")
    private String userid;

    /** 商家密码 */
    @Excel(name = "商家密码")
    private String password;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String username;

    /** 商家电话 */
    @Excel(name = "商家电话")
    private String tele;
    /** 创建时间*/
    @Excel(name = "创建时间")
    private Date createtime;

    /** 商家头像 */
    @Excel(name = "商家头像")
    private String photo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setTele(String tele) 
    {
        this.tele = tele;
    }

    public String getTele() 
    {
        return tele;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createtime", getCreatetime())
            .append("userid", getUserid())
            .append("password", getPassword())
            .append("username", getUsername())
            .append("tele", getTele())
            .append("photo", getPhoto())
            .toString();
    }

    public Date getCreatetime() {
        return createtime;
    }
}
